package com.umcg.monitor;

import android.app.Activity;
import android.webkit.WebView;

public class MaiMonitor extends Activity{
	private WebView webview;
	
	public MaiMonitor(WebView webview) {
		this.webview=webview;
		setup();
	}
	
	private void setup(){
		webview.getSettings().setJavaScriptEnabled(true);
		//webview.addJavascriptInterface(this, "testhandler");
		webview.loadUrl("file:///android_asset/flot/plot/mai.html");
		webview.setBackgroundColor(0);
	}
	
}